<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript" src="../js/unit/ProcessTiming.js"></script>
		<style type="text/css">
			.container {border: 1px blue solid;}
			.container:active {background-color: beige;} 
		</style>
	</head>
	<body>
		<input type="button" value="提交1"/>
		<input TYPE="" VALUE="提交2"/>
		<div>
			<div class="container">
				点击
			</div>
		</div>
		
		<textarea id="itextarea">
		</textarea>
		<button id="putOut">输出</button>
		<!-- <img src="../img/advertisement/advertise1.png" onpropertychange="alert(1)" /> -->
		<br />
		<input type="file" />
		<script type="text/javascript">
			
			
			
			var textstr = document.getElementById("itextarea").value = "热\n了哈收\n到了热了哈收到了\n热了哈收到了";
			document.getElementById("putOut").onclick = function(){
				document.getElementById("itextarea").innerHTML = document.getElementById("itextarea").innerHTML.replace(/\n/g,"<br>").replace("<br>","/n");
				alert(document.getElementById("itextarea").innerHTML.replace(/\n/g,"<br>"))
			}
			
			
			var fromobj = new FormData();
			console.log(fromobj);
			fromobj.append("file","l;ajsdfl;kj");
			console.log(fromobj);
			fromobj.append("asldf","l;ajsdfl;kj");
			console.log(fromobj);
			console.log(fromobj.get("file"))
		</script>
	</body>
</html>